package cn.tedu.egweibo6.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class WeiboDetailVO {
    @ApiModelProperty(value = "微博ID")
    private Long id;
    @ApiModelProperty(value = "微博内容")
    private String content;
    @ApiModelProperty(value = "微博发布时间")
    @JsonFormat(pattern = "yyyy年MM月dd日 HH时mm分ss秒" , timezone = "Asia/Shanghai")
    private Date created;
    @ApiModelProperty(value = "用户昵称")
    private String nickname;

}
